package com.zyg.service;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import com.zyg.mapper.UserMapper;
import com.zyg.pojo.User;

@Service("userService")
@Transactional
public class UserServiceImpl implements UserService {
	@Autowired
	private UserMapper userMapper;

	@Override
	public User findUser(String usercode, String password) {
		return userMapper.findUser(usercode, password);
	}

}
